from django.db import models
from monitor.models import *

# Create your models here.

class Alarm(models.Model):
	name = models.CharField(max_length=64)
	service = models.ForeignKey(Service)
	item = models.CharField(max_length=64)
	condition = models.CharField(max_length=2)
	value = models.CharField(max_length=64)
	def __unicode__(self):
		return self.name
